package eb;

public class User {

	private String UserName;
	private String PassWord;
	private String RealName;
	private String sex;
	private String Tel;
	private String Email;
	private String Address;
	private String Postcode;

	public User(String Username, String Password, String Realname, String Tel,
			String Sex, String Email) {
		this.UserName = new String(Username);
		this.PassWord = new String(Password);
		this.RealName = new String(Realname);
		this.Tel = new String(Tel);
		this.sex = new String(Sex);
		this.Email = new String(Email);
		this.Address = new String("YuQuan Campus");
		this.Postcode = new String("310058");
	}

	public User() {
		super();
	}

	/**
	 * @param userName
	 * @param passWord
	 * @param realName
	 * @param sex
	 * @param tel
	 * @param email
	 * @param address
	 * @param postcode
	 */
	public User(String userName, String passWord, String realName, String sex,
			String tel, String email, String address, String postcode) {
		super();
		UserName = userName;
		PassWord = passWord;
		RealName = realName;
		this.sex = sex;
		Tel = tel;
		Email = email;
		Address = address;
		Postcode = postcode;
	}

	public String GetUserName() {
		return this.UserName;
	}

	public void SetUserName(String username) {
		this.UserName = username;
	}

	public String GetPassWord() {
		return this.PassWord;
	}

	public void SetPassWord(String Password) {
		this.PassWord = Password;
	}

	public String GetRealName() {
		return this.RealName;
	}

	public void SetRealName(String Realname) {
		this.RealName = Realname;
	}

	public String GetSex() {

		return sex;
	}

	public void SetSex(String sex) {
		this.sex = sex;
	}

	public String GetTel() {
		return this.Tel;
	}

	public void SetTel(String Tel) {
		this.Tel = Tel;
	}

	public String GetEmail() {
		return this.Email;
	}

	public void SetEmail(String Email) {
		this.Email = Email;
	}

	public String GetAddress() {
		return this.Address;
	}

	public void SetAddress(String address) {
		this.Address = address;
	}

	public String GetPostcode() {
		return this.Postcode;
	}

	public void SetPostcode(String postcode) {
		this.Postcode = postcode;
	}
}
